cmake_minimum_required(VERSION 3.10)


SET(CMAKE_C_STANDARD 11)

# SET(CMAKE_C_COMPILER   /usr/bin/gcc)
# SET(CMAKE_CXX_COMPILER   /usr/bin/g++)

# Set the project name
set(CMAKE_PROJECT_NAME FTPServer)

project(${CMAKE_PROJECT_NAME})

aux_source_directory(. main)

add_executable(${CMAKE_PROJECT_NAME} ${main})

target_link_libraries(${CMAKE_PROJECT_NAME} ws2_32)

# target_sources(${CMAKE_PROJECT_NAME} PRIVATE
#     ./core/openFSM.c
#     # Add user sources here
# )

target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
    ./core
    # Add user defined include paths
)